<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>ppp</Name>
        <Homepage>http://samba.org/ppp</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>BSD</License>
        <License>GPLv2</License>
        <IsA>service</IsA>
        <Summary>Point-to-point protocol - patched for PPPOE</Summary>
        <Description>The Point-to-Point Protocol (PPP) provides a standard way to transmit datagrams over a serial link.</Description>
        <Archive sha1sum="56ba143f331f6436efa3a1d41c75691c828833ba" type="targz">https://www.samba.org/ftp/ppp/ppp-2.4.9.tar.gz</Archive>
        <Archive sha1sum="1a0b02788d522f2137d0b66c749ffe6c96cceb94" type="targz" target="ppp-2.4.9/pppd/plugins">http://distfiles.gentoo.org/distfiles/ppp-dhcpc.tgz</Archive>
        <BuildDependencies>
            <Dependency>libpcap-devel</Dependency>
            <Dependency>openssl-devel</Dependency>
            <Dependency>pam-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">gentoo/0001-Change-Make-vars-to-work-in-Gentoo-builds.patch</Patch>
            <Patch level="1">gentoo/0002-Use-internal-implementation-of-logwtmp-function.patch</Patch>
            <Patch level="1">gentoo/0003-Add-MPLSCP-support.patch</Patch>
            <Patch level="1">gentoo/0004-smarter-killaddr.patch</Patch>
            <Patch level="1">gentoo/0005-Improve-waiting-for-children-on-exit.patch</Patch>
            <Patch level="1">gentoo/0006-Remove-one-of-the-2-pidfiles-pidfilename-or-linkpidf.patch</Patch>
            <Patch level="1">gentoo/0007-Run-etc-ppp-auth-fail-script-if-exists-and-authentic.patch</Patch>
            <Patch level="1">gentoo/0008-Try-to-create-dev-ppp-if-not-available.patch</Patch>
            <Patch level="1">gentoo/0009-passwordfd-read-early.patch</Patch>
            <Patch level="1">gentoo/0010-Add-option-to-ask-peer-for-WINS-address.patch</Patch>
            <Patch level="1">gentoo/0011-Log-connect-errors-to-var-log-ppp-connect-errors.patch</Patch>
            <Patch level="1">gentoo/0012-Don-t-hang-when-starting-pppoe-connection-without-se.patch</Patch>
            <Patch level="1">gentoo/0013-Add-defaultmetric-as-compatibility-option-name.patch</Patch>
            <Patch level="1">gentoo/0014-Warn-user-of-deprecated-option-defaultmetric.patch</Patch>
            <Patch level="1">gentoo/85_all_dhcp-make-vars.patch</Patch>
            <Patch level="1">gentoo/86_all_dhcp-sys_error_to_strerror.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>ppp</Name>
        <RuntimeDependencies>
            <Dependency>libpcap</Dependency>
            <Dependency>pam</Dependency>
            <Dependency>openssl</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="config">/etc</Path>
            <Path fileType="config">/usr/lib/tmpfiles.d/ppp.conf</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="executable">/usr/sbin</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/run/ppp</Path>
        </Files>
        <AdditionalFiles>
            <AdditionalFile owner="root" permission="0644" target="/usr/lib/tmpfiles.d/ppp.conf">tmpfiles.conf</AdditionalFile>
            <AdditionalFile target="/etc/ppp/options-pptp" permission="0644" owner="root">options-pptp</AdditionalFile>
            <AdditionalFile target="/etc/ppp/options-pppoe" permission="0644" owner="root">options-pppoe</AdditionalFile>
            <AdditionalFile target="/etc/ppp/chat-default" permission="0644" owner="root">chat-default</AdditionalFile>
            <AdditionalFile target="/etc/ppp/ip-up" permission="0755" owner="root">ip-up</AdditionalFile>
            <AdditionalFile target="/etc/ppp/ip-down" permission="0755" owner="root">ip-down</AdditionalFile>
            <AdditionalFile target="/etc/conf.d/net.ppp0" permission="0600" owner="root">confd.ppp0</AdditionalFile>
            <AdditionalFile target="/etc/pam.d/ppp" permission="0644" owner="root">ppp.pamd</AdditionalFile>
            <AdditionalFile target="/etc/logrotate.d/ppp" permission="0644" owner="root">ppp.logrotate</AdditionalFile>
        </AdditionalFiles>
    </Package>

    <Package>
        <Name>ppp-devel</Name>
        <Summary>Development files for ppp</Summary>
        <RuntimeDependencies>
            <Dependency release="current">ppp</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="6">
            <Date>2021-02-25</Date>
            <Version>2.4.9</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2020-01-21</Date>
            <Version>2.4.7</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-08-13</Date>
            <Version>2.4.7</Version>
            <Comment>Rebuild New T.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-02-18</Date>
            <Version>2.4.7</Version>
            <Comment>Version Bump</Comment>
            <Name>Kamil Atlı</Name>
            <Email>suvari@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>2.4.6</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-26</Date>
            <Version>2.4.6</Version>
            <Comment>First release</Comment>
            <Name>Marcin Bojara</Name>
            <Email>marcin@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
